﻿using Abp.Domain.Entities.Auditing;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace Akso.Entities
{
    /// <summary>
    /// 教室实体，软删除
    /// </summary>
    [Table("Base_Classrooms")] //表名称，可以修改成别的名称
    public class ClassroomsEntity:FullAuditedEntity<Guid>
    {
        public const int MaxClassroomNameLength = 50;
        public const int MaxRemarkLength = 500;
        [Required]
        [Column("ClassroomName")]
        [MaxLength(MaxClassroomNameLength)] //教室名称
        public virtual string ClassroomName { get; set; }
        //容纳人数
        public virtual int Galleryful { get; set; }
        //备注
        [MaxLength(MaxRemarkLength)]
        public virtual string Remark { get; set; }
    }
}
